
/******************************************************************************
 * Copyright (C) 2024 xxxx, Inc.(Gmbh) or its affiliates.
 * 
 * All Rights Reserved.
 * 
 * @file bsp_led.h
 * 
 * @par dependencies 
 * - bsp_led.h
 * - main.h
 * 
 * @author lange.you
 * 
 * @brief Provide the bsp led corresponding opetions.
 * 
 * Processing flow:
 * 
 * call directly.
 * 
 * @version V1.0 2024-11-10
 *
 * @note 1 tab == 4 spaces!
 * 
 *****************************************************************************/


#include "bsp_led.h"
#include "main.h"

void led_on(void)
{
	HAL_GPIO_WritePin(LED0_GPIO_Port, LED0_Pin, GPIO_PIN_RESET);
}

void led_off(void)
{
	HAL_GPIO_WritePin(LED0_GPIO_Port, LED0_Pin, GPIO_PIN_SET);
}

void led_toggle(void)
{
	HAL_GPIO_TogglePin(LED0_GPIO_Port, LED0_Pin);
}

/**
 * @brief led init
 *
 */
void led_init(void)
{
	return;
}
